package com.tqsa.web.service;

import com.tqsa.common.convention.result.Result;
import com.tqsa.dto.UserRegisterDTO;
import com.tqsa.dto.UserUpdateDTO;
import com.tqsa.entity.UserDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tqsa.vo.UserVO;

/**
* @author tqsa01
* @description 针对表【users】的数据库操作Service
* @createDate 2024-03-26 09:14:47
*/
public interface UserService extends IService<UserDO> {

    Result<UserVO> getUserByUserName (String username);

    Result<Void> register (UserRegisterDTO userRegisterDTO);

    Result<Void> deleteUserByUsername (String username);

    Result<Void> updateUserByUsername (UserUpdateDTO userUpdateDTO);
}
